package mips;

import tree.BasicExp;
import frame.Access;

public class InReg extends Access {
	temp.Temp temp;
	
	public InReg() {
		super();
		temp = new temp.Temp();
	}
	
	public InReg(temp.Temp t) {
		temp = t;
	}
	
	public BasicExp exp(BasicExp framePtr) {
		return new tree.TEMP(temp);
	}
}
